@import "public";
body, html {
  background-color: $color_4;
}
/* 首页入口模块home样式
---------------------------------------------------------------- */
.homeMain {
  width: 100%;
  height: 100vh;
  background-image: url("https://zyl-bolg-1256871043.cos.ap-guangzhou.myqcloud.com/blog2%2FloginMain.png");
  background-size: cover;
  .homeMainCommunity {
    position: absolute;
    width: 900px;
    top: 10%;
    left: 8%;
    text-align: left;
    .communityLogo {
      margin-bottom: 10px;
    }
    .communityHr {
      width: 70%;
      height: 1px;
      margin-bottom: 5%;
      background-color: $color_1;
    }
    .communityTitle {
      h2 {
        font-size: 2.8rem;
        font-weight: bold;
        line-height: 70px;
        margin-bottom: 5%;
      }
      .communityExplain {
        margin-bottom: 10%;
      }
    }
    .communityEntrance {
      display: flex;
      justify-content: flex-start;
      div {
        width: 200px;
        height: 60px;
        line-height: 60px;
        margin-right: 10px;
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        cursor: pointer;
        color: $color_4;
      }
      div:hover {
        box-shadow: 1px 2px 6px $color_2;
      }
      .entranceBolg {
        background-color: $color_3;
      }
      .entranceCsdn {
        background-color: $color_5;
      }
      .entranceGitee {
        background-color: $color_2;
      }
      .entranceNpm {
        background-color: $color_13;
      }
    }
  }
  .homeFooterMain {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    color: $color_9;
  }
}
@media screen and (max-width: 890px) {
  .homeMain > .homeMainCommunity {
    width: 98%;
    top: 3%;
    left: 1%;
  }
}

@media screen and (max-width: 600px) {
  .homeMain > .homeMainCommunity {
    width: 100%;
    top: 3%;
    left: 1%;
    .communityTitle {
      h2 {
        font-size: 1.5rem;
        font-weight: bold;
        line-height: 40px;
        margin-bottom: 5%;
      }
    }
  }
}
